// 导入components组件进行全局注册
import pageTools from '@/components/pageTools'
import UploadImg from '@/components/UploadImg'

export default {
  install(obj) { // install中vue===obj
    // console.log(obj, 'obj')
    // 插件中全局注册组件
    obj.component('pageTools', pageTools)
    obj.component('UploadImg', UploadImg)
  } }
